package com.ld.security.common.mybatis.base.po;

import com.ld.security.common.core.base.SuperPo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data

public class EntityPo<E> implements SuperPo {

	@NotNull
	@ApiModelProperty("参数字段")
	private E entity;

	public EntityPo() {

	}

	public EntityPo(@NotNull E entity) {
		this.entity = entity;
	}
}
